/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.migracion.components;

/**
 *
 * @author stevenziggiz
 */
public class Column {
    
    private int index;

    private String field;
    
    private DataType dataType;
    
    private boolean white;
    
    private Integer indexMigrar;
    
    public Column() {
    }

    public Column(int index,String field, DataType dataType, boolean white, Integer indexMigrar) {
        this.index = index;
        this.field = field;
        this.dataType = dataType;
        this.white = white;
        this.indexMigrar = indexMigrar;
    }

    /**
     * @return the field
     */
    public String getField() {
        return field;
    }

    /**
     * @param field the field to set
     */
    public void setField(String field) {
        this.field = field;
    }

    /**
     * @return the dataType
     */
    public DataType getDataType() {
        return dataType;
    }

    /**
     * @param dataType the dataType to set
     */
    public void setDataType(DataType dataType) {
        this.dataType = dataType;
    }

    /**
     * @return the white
     */
    public boolean isWhite() {
        return white;
    }

    /**
     * @param white the white to set
     */
    public void setWhite(boolean white) {
        this.white = white;
    }

    /**
     * @return the index
     */
    public int getIndex() {
        return index;
    }

    /**
     * @param index the index to set
     */
    public void setIndex(int index) {
        this.index = index;
    }

    /**
     * @return the IndexMigrar
     */
    public Integer getIndexMigrar() {
        return indexMigrar;
    }

    /**
     * @param IndexMigrar the IndexMigrar to set
     */
    public void setIndexMigrar(Integer indexMigrar) {
        this.indexMigrar = indexMigrar;
    }
    
}
